// SHModelEntityReator.cpp: implementation of the SHModelEntityReator class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SHModelEntityReator.h"
#include "AutoCADModelObserver.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

ACRX_NO_CONS_DEFINE_MEMBERS(SHModelEntityReator, AcDbEntityReactor);

SHModelEntityReator::SHModelEntityReator()
{
	m_pObserver = NULL;
}

SHModelEntityReator::~SHModelEntityReator()
{

}

void SHModelEntityReator::cancelled(const AcDbObject* obj)
{
}

void SHModelEntityReator::copied(const AcDbObject* obj, const AcDbObject* newObj)
{
}

void SHModelEntityReator::erased(const AcDbObject* obj, Adesk::Boolean pErasing)
{
	ASSERT(m_pObserver);
    if (pErasing)
        m_pObserver->Erase();
    else
        m_pObserver->UnErase();
}

void SHModelEntityReator::goodbye(const AcDbObject* obj)
{
}

void SHModelEntityReator::openedForModify(const AcDbObject* obj)
{
}

void SHModelEntityReator::modified(const AcDbObject* obj)
{
}

void SHModelEntityReator::subObjModified(const AcDbObject* obj, const AcDbObject* subObj)
{
}

void SHModelEntityReator::modifyUndone(const AcDbObject* obj)
{
}

void SHModelEntityReator::modifiedXData(const AcDbObject* obj)
{
}

void SHModelEntityReator::unappended(const AcDbObject* obj)
{
}

void SHModelEntityReator::reappended(const AcDbObject* obj)
{
}

void SHModelEntityReator::objectClosed(const AcDbObjectId objId)
{
}
